.button {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  gap: 0.25rem;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}

.button:focus-visible {
  outline: 0;
}

.block {
  display: block;
  width: 100%;
}

.medium {
  font-weight: 500;
}

.bold {
  font-weight: bold;
}

.white {
  background: var(--color-background);
  color: var(--color-text);

  &:focus-visible,
  &:hover {
    background: var(--color-gray-200);
  }
}

.gray {
  background: var(--color-gray-100);
  color: var(--color-text);

  &:focus-visible,
  &:hover {
    background: var(--color-gray-200);
  }
}

.transparent {
  background: transparent;
  color: black;
}

.yellow {
  background: var(--color-yellow-600);
  color: white;

  &:focus-visible,
  &:hover {
    background: var(--color-yellow-500);
  }
}

.blue {
  background: var(--color-blue-700);
  color: white;

  &:focus-visible,
  &:hover {
    background: var(--color-blue-800);
  }
}

.disabled {
  background: var(--color-gray-200);
  color: var(--color-text);
  cursor: not-allowed;

  &:focus-visible,
  &:hover {
    background: var(--color-gray-200);
  }
}

.black {
  background: black;
  color: white;

  &:focus-visible,
  &:hover {
    background: black;
  }
}

.md {
  font-size: 1rem;
  padding: 1rem 2rem;
}

.sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.xs {
  font-size: 0.75rem;
  line-height: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.danger {
  background: var(--color-gray-100);
  color: var(--color-text);

  &:focus-visible,
  &:hover {
    background: var(--color-red-600);
    color: white;
  }
}